package com.bw.common.model

import com.bw.common.api.BaseApiServer

/**
 * 基础仓库层
 */
abstract class BaseRepository<S:BaseApiServer> {

    protected var apiServer :S


    init {
        apiServer = createApiServer()
    }

    protected abstract fun createApiServer():S
}